Skip to content

feat(config)!: standardize profiles and remove legacy configuration tooling - #172

Merged
ConardLi merged 6 commits into
mainfrom
feat/config-standardization
Nov 22, 2026
Merged

ConardLi merged 6 commits into
mainfrom
feat/config-standardization

Conversation

@ConardLi

@ConardLi ConardLi commented Nov 21, 2026 •

Copy link
Copy Markdown
Owner

Easy Agent now uses explicit model Profile IDs, one API Key per connection, and a shared configuration contract across CLI, SDK, RPC, ACP, and the desktop client. Configuration uses only the current schema. Unknown fields receive generic validation errors; unrelated environment variables do not configure the runtime.

  • Require an explicit protocol and upstream model (docs/model-profiles.md). Share authentication, reasoning, capability, and complete-connection resolution under the documented source priority and trust rules (docs/configuration.md, docs/configuration-inventory.md).
  • Remove converters, retired-name registries, special old-field diagnostics, migration preview/apply/backup machinery, and every CLI, SDK, RPC, desktop, and prototype migration entry point. Delete the associated types, generated routes, and dedicated migration tests/guides.
  • Preserve arbitrary explicit ${VAR} environment references, third-party Skill placeholders (${CLAUDE_SKILL_DIR}, ${CLAUDE_SESSION_ID}), Anthropic SDK/protocol behavior, Profile helpers, custom authentication, and no-auth connections.
  • Preserve trust and credential isolation, atomic writes, and private storage. The trust prompt identifies Profile-owned helpers without executing them. Invalid initial settings stop before helper/HTTP use; a live edit rejected by settings validation retains the previous complete source snapshot with visible diagnostics.
  • Keep first-run configuration, editing, connection checks, diagnostics, and save/reload usable. Historical sessions require saved Profile IDs or an explicit selection and never infer one from an upstream model name.
  • Record the breaking configuration and profile changes in CHANGELOG.md, and use agentMd naming for rule exclusions (agentMdExcludes) while retaining AGENTS.md / AGENT.md loading.

Verification

  • Four-protocol checks exercise 12 controlled HTTP requests for default, custom-header, and no-auth connections.
  • Real Electron configuration tests cover first configuration, automatic-budget edit/clear, unknown fields without file mutation or HTTP, ambient credentials that cannot override a Profile, and helper/custom authentication save/reload followed by no-auth.
  • Desktop acceptance passed 122/122: 63 unit, 51 e2e, and 8 pixel visual. Existing pixel baselines, thresholds, and masks are unchanged.
  • Connection/lifecycle checks passed 25/25, Harness resolver 42/42, and Harness features 20/20. Concurrent-persistence and settings-merge tests retain their assertions using real schema fields.
  • Full npm run verify:release passed: 91/91 production groups with no skips, 2/2 platform groups, 2/2 performance checks, and 73/73 release/package checks. Installed CLI coverage confirms unknown configuration fails before HTTP without rewriting the file or exposing values.

This PR does not publish an npm package.

@ConardLi ConardLi changed the title feat(config): unify profiles, credentials and configuration migration feat(config)!: unify profiles and remove automatic legacy compatibility Nov 22, 2026
@ConardLi ConardLi changed the title feat(config)!: unify profiles and remove automatic legacy compatibility feat(config)!: standardize profiles and remove legacy configuration tooling Nov 22, 2026
ConardLi and others added 2 commits November 22, 2026 22:32
…lidation bundle

Keep local workspace patches and acceptance screenshots out of the public repository while recording the standardized profile and configuration contract in CHANGELOG.md.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Keep request rendering (`harness diff --prompt`, `diffHarness`, and `renderRequests`) side-effect free by skipping `apiKey.helper` execution and deferring Anthropic SDK client instantiation until after `trace.sent()`, while retaining header policy validation across protocols.

Generated with [Devin](https://devin.ai)

Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
@ConardLi
ConardLi merged commit 05c182e into main Nov 22, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant